home *** CD-ROM | disk | FTP | other *** search
- ========== Description Part Begin ==========
- Title = remove
- ProgID = PageletServer.JsBox
- LastUpdateTime = 36432.398958333
- PreviewPath = _pgtres/
- Description = delete the HTML and Javascript code in the input
- ========== Description Part End ==========
-
- ========== Parameter Part Begin ==========
- CheckDigitPara = 50,4,Submit,http://www.cutepage.com,Center,http:,www.cutepage.com
- JsBoxType = 9
- ========== Parameter Part End ==========
-
- ========== Resource Part Begin ==========
- Resource Number = 0
- ========== Resource Part End ==========
-
- ========== HTML Part Begin ==========
- Segment Number = 2
- Segment Position = script
- <SCRIPT LANGUAGE="JavaScript">
- function Del(Word) {
- a = Word.indexOf("<");
- b = Word.indexOf(">");
- len = Word.length;
- c = Word.substring(0, a);
- if(b == -1)
- b = a;
- d = Word.substring((b + 1), len);
- Word = c + d;
- tagCheck = Word.indexOf("<");
- if(tagCheck != -1)
- Word = Del(Word);
- return Word;}
- function Check(formname){
- ToCheck = document.forms[formname].text.value;
- Checked = Del(ToCheck);
- document.forms[formname].text.value= Checked;
- return true;}
- </script>
- ===== Segment End =====
- Segment Position = cursor
- <form name="srctecformremove" action="http://www.cutepage.com" enctype="text/plain" method="post" onsubmit="return Check('srctecformremove')">
- <div align="Center">
- <textarea cols="50" rows="4" name="text"></textarea>
- <br>
- <input type="submit" name="button" value="Submit">
- </div>
- </form>
- ===== Segment End =====
- ========== HTML Part End ==========
-
-